package com.javasm.domin.entity.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 
 * </p>
 *
 * @author whl
 * @since 2022-01-13
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class CrmGoodsChangeGiftApplication implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 移库申请单编号
     */
    @TableId(value = "application_Id", type = IdType.AUTO)
    private Integer applicationId;

    /**
     * 赠品编码 
     */
    @TableField("goodsId")
    private Integer goodsId;

    /**
     * 品牌Id
     */
    @TableField("goods_brandId")
    private Integer goodsBrandid;

    /**
     * 商品名称 
     */
    @TableField("goodsName")
    private String goodsName;

    /**
     * 分类
     */
    @TableField("goodsTypeId")
    private Integer goodsTypeId;

    /**
     * 移库数量库数
     */
    @TableField("goods_minCount")
    private Integer goodsMincount;

    /**
     * 采购价
     */
    @TableField("purchasePrice")
    private Float purchasePrice;

    /**
     * 单价
     */
    private Float price;

    /**
     * 申请人
     */
    private String applicant;

    /**
     * 申请时间
     */
    private LocalDateTime createTime;

    /**
     * 更新时间
     */
    private LocalDateTime updateTime;

    /**
     * 审核日志
     */
    @TableField("Audit_log")
    private String auditLog;


}
